<template>
  <!-- 开屏页面 -->
  <view class="container">
    <!-- <image src="/static/images/splash.png" /> -->
    <image src="https://www.ebuy.plus/api/media/picture/HupoZwcnWharb2694e51ee7f4a2074ea75dd162086b9.jpg" />
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  onLoad() {
    setTimeout(() => {
      uni.switchTab({
        url: '/pages/home/home'
      });
    }, 2000); // 2秒后跳转首页
  }
}
</script>

<style lang="scss">
.container {
  padding: 0;
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 100vh;
  image{
    width: 100%;
    height: 100%;
  }

}
</style>
